//Copyright (c) 2012 The cwkshell Authors. All rights reserved. 
// Use of this source code is governed by a BSD-style license that can be 
// found in the LICENSE file. 
#include "cuc/src/cwkshell/browser/shell_protocol_handler.h" 
#include "cuc/src/cwkshell/browser/url_request_shell_job.h" 

namespace cuc{ 
	namespace shell{ 


		ShellProtocolHandler::ShellProtocolHandler(ShellWebUIDataManager* shell_webui_data_manager)
			:shell_webui_data_manager_(shell_webui_data_manager)
		{
		
			DCHECK(shell_webui_data_manager_);
		

		}

		ShellProtocolHandler::~ShellProtocolHandler() {}

		 net::URLRequestJob* ShellProtocolHandler::MaybeCreateJob(
			net::URLRequest* request, net::NetworkDelegate* network_delegate) const {
				DCHECK(request);
				return new URLRequestShellJob(request,network_delegate,shell_webui_data_manager_);
		}
	} //namespace shell 
} //namespace cuc 
